export function getPara(key) {
    let query = encodeURI(window.location.hash.split("?")[1]);
    let vars = query.split("&");
    for (let i = 0; i < vars.length; i++) {
        let pair = vars[i].split("=");
        if (pair[0] === key) {
            return decodeURI(decodeURI(pair[1]));
        }
    }
    return null;
}